/*
 *******************************************************************************
 *                                EIT Car Project
 *                             Main FUNCTIONS
 *
 *                     (c) Copyright 2015-2020 Car@EIT 
 *                            All Rights Reserved
 * File      : main.c
 * This file is part of EIT Car Project
 * Embedded Innovation Team(EIT) - Car@EIT  
 * ----------------------------------------------------------------------------
 * LICENSING TERMS:
 * 
 *     CarLib is provided in source form for FREE evaluation and  educational 
 * use.
 *    If you plan on using  CarLib  in a commercial product you need to contact 
 * Car@EIT to properly license its use in your product. 
 * 
 * ----------------------------------------------------------------------------
 * Change Logs:
 * Date           Author       Notes
 * 2015-01-22     Zhu Jian Ning    the first version
 *
 *******************************************************************************
 */

#ifndef __EIT_Steer_H__
#define __EIT_Steer_H__

#include   "common.h"
#include   "include.h"

#define  STEER_PWM_FREQ   100
#define  STEER_PWM_MAX    300
#define  STEER_PWM_MID    150
#define  STEER_PWM_MIN    0
#define  STEER_PWM_FTM    FTM1
#define  STEER_PWM        FTM0_CH0

void Steer_Init(void);
void Steer_Turn(int32 pwm);


#endif